import { request } from "../util";
import { ROUTERMAP } from "../util/constants";





export default class serviceConstants {
    static async getBalanceSymbolList() : Promise<any> {
        return request(ROUTERMAP.symbolList, {
            method: 'GET',
        }, true).then(res => {
            if (res.retCode == '00') {
                return res.data;
            }
            return Promise.reject('');
        })
        .catch(err => {
            return Promise.reject(err);
        })
    }
}